package vn.edu.fpt.xml.back.dtos.news;

import javax.xml.bind.annotation.XmlElement;

/**
 * Created by hiephn on 2014/04/24.
 */
public class Item {
    private String title;
    private String description;
    private String pubDate;
    private String link;
    private String guid;
    private String comments;

    @XmlElement
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @XmlElement
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @XmlElement
    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    @XmlElement
    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    @XmlElement
    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    @XmlElement(namespace = "http://purl.org/rss/1.0/modules/slash/")
    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }
}
